using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;
using clf.weighing.entity;

namespace weighing
{

    /// <summary>
    /// 数据条数:2
    /// 数据大小:16KB
    /// </summary>


    public class UserVo : BaseVo
    {
        #region Constract
        public User mUser;
        public UserVo(User user)
        {
            mUser = user;
        }
        #endregion


        /// <summary>
        /// 可空:NO
        /// </summary>

        public Int64 Id { get { return mUser.id; } set { mUser.id = value; OnPropertyChanged(this, nameof(Id)); } }

        /// <summary>
        /// 可空:YES
        /// </summary>

        public String Name { get { return mUser.name; } set { mUser.name = value; OnPropertyChanged(this, nameof(Name)); } }

        /// <summary>
        /// 注释:性别 0 女 1 男 3保密
        /// 可空:YES
        ///默认值:1
        /// </summary>

        public Int32? Sex { get { return mUser.sex; } set { mUser.sex = value; OnPropertyChanged(this, nameof(Sex)); } }

        /// <summary>
        /// 可空:YES
        /// </summary>

        public String Nation { get { return mUser.nation; } set { mUser.nation = value; OnPropertyChanged(this, nameof(Nation)); } }

        /// <summary>
        /// 可空:YES
        /// </summary>

        public String LoginName { get { return mUser.loginName; } set { mUser.loginName = value; OnPropertyChanged(this, nameof(LoginName)); } }

        /// <summary>
        /// 可空:YES
        /// </summary>

        public String Password { get { return mUser.password; } set { mUser.password = value; OnPropertyChanged(this, nameof(Password)); } }

        /// <summary>
        /// 可空:YES
        /// </summary>

        public String Weichat { get { return mUser.weichat; } set { mUser.weichat = value; OnPropertyChanged(this, nameof(Weichat)); } }

        /// <summary>
        /// 可空:YES
        /// </summary>

        public String Qq { get { return mUser.qq; } set { mUser.qq = value; OnPropertyChanged(this, nameof(Qq)); } }

        /// <summary>
        /// 可空:YES
        /// </summary>

        public String Email { get { return mUser.email; } set { mUser.email = value; OnPropertyChanged(this, nameof(Email)); } }

        /// <summary>
        /// 可空:YES
        /// </summary>

        public String Phone { get { return mUser.phone; } set { mUser.phone = value; OnPropertyChanged(this, nameof(Phone)); } }

        /// <summary>
        /// 可空:YES
        /// </summary>

        public String HeaderImg { get { return mUser.headerImg; } set { mUser.headerImg = value; OnPropertyChanged(this, nameof(HeaderImg)); } }

        /// <summary>
        /// 可空:YES
        /// </summary>

        public DateTime? BirthDate { get { return mUser.birthDate; } set { mUser.birthDate = value; OnPropertyChanged(this, nameof(BirthDate)); } }

        /// <summary>
        /// 可空:YES
        /// </summary>

        public String IdNumber { get { return mUser.idNumber; } set { mUser.idNumber = value; OnPropertyChanged(this, nameof(IdNumber)); } }

        /// <summary>
        /// 注释:1 过磅员 2管理员 100 开发
        /// 可空:YES
        ///默认值:1
        /// </summary>

        public Int32? RoleType { get { return mUser.roleType; } set { mUser.roleType = value; OnPropertyChanged(this, nameof(RoleType)); } }

        /// <summary>
        /// 注释:0 其它 1 过磅工 2 过磅管理员 3公司管理员 4老总
        /// 可空:YES
        ///默认值:1
        /// </summary>

        public Int32? UserLevel { get { return mUser.userLevel; } set { mUser.userLevel = value; OnPropertyChanged(this, nameof(UserLevel)); } }

        /// <summary>
        /// 可空:YES
        /// </summary>

        public DateTime? Addtime { get { return mUser.addTime; } set { mUser.addTime = value; OnPropertyChanged(this, nameof(Addtime)); } }

        /// <summary>
        /// 可空:YES
        /// </summary>

        public Int64? AddUserId { get { return mUser.addUserId; } set { mUser.addUserId = value; OnPropertyChanged(this, nameof(AddUserId)); } }

        /// <summary>
        /// 可空:YES
        /// </summary>

        public String AddUserName { get { return mUser.addUserName; } set { mUser.addUserName = value; OnPropertyChanged(this, nameof(AddUserName)); } }

        /// <summary>
        /// 注释:所属公司 0 没有
        /// 可空:YES
        ///默认值:0
        /// </summary>

        public Int64? AffiliatedCompanyId { get { return mUser.affiliatedCompanyId; } set { mUser.affiliatedCompanyId = value; OnPropertyChanged(this, nameof(AffiliatedCompanyId)); } }

        /// <summary>
        /// 注释:公司名称
        /// 可空:YES
        /// </summary>

        public String Company { get { return mUser.company; } set { mUser.company = value; OnPropertyChanged(this, nameof(Company)); } }

        /// <summary>
        /// 可空:YES
        ///默认值:0
        /// </summary>

        public Int32? IsDelete { get { return mUser.isDelete; } set { mUser.isDelete = value; OnPropertyChanged(this, nameof(IsDelete)); } }

        /// <summary>
        /// 可空:YES
        /// </summary>

        public DateTime? DeleteTime { get { return mUser.deleteTime; } set { mUser.deleteTime = value; OnPropertyChanged(this, nameof(DeleteTime)); } }

        /// <summary>
        /// 可空:YES
        /// </summary>

        public Int64? SyncTime { get { return mUser.syncTime; } set { mUser.syncTime = value; OnPropertyChanged(this, nameof(SyncTime)); } }

        /// <summary>
        /// 可空:YES
        /// </summary>

        public String Address { get { return mUser.address; } set { mUser.address = value; OnPropertyChanged(this, nameof(Address)); } }

        /// <summary>
        /// 注释:用户类型 1 企业用户 2 监管单位 3 系统方
        /// 可空:YES
        ///默认值:1
        /// </summary>

        public Int32? UserType { get { return mUser.userType; } set { mUser.userType = value; OnPropertyChanged(this, nameof(UserType)); } }

        /// <summary>
        /// 注释:状态 1 正常 0 禁用
        /// 可空:YES
        /// </summary>

        public Int32? Status { get { return mUser.status; } set { mUser.status = value; OnPropertyChanged(this, nameof(Status)); } }

        /// <summary>
        /// 注释:备注
        /// 可空:YES
        /// </summary>

        public String Remark { get { return mUser.remark; } set { mUser.remark = value; OnPropertyChanged(this, nameof(Remark)); } }

    }
}
